package JiHeKuangJia;

public class Student {
	private String name;
	private char sex;
	
	public Student(String name,char sex){
		this.name = name;
		this.sex = sex;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public char getSex() {
		return sex;
	}

	public void setSex(char sex) {
		this.sex = sex;
	}
	
	public String show(){
		return name+"性别是"+sex;
	}
	
	
}
